<h2>Subir una imagen</h2>
<?php echo $form->create('User',array('enctype' => 'multipart/form-data', 'action'=> 'addImage'));?>
	<fieldset>
            <legend><?php __('Subir Imagen');?></legend>
		<ul>
			<li>     
                           <?php
			    //echo $html->image('/mymodels/photo/'.$form->value('id'));
                            echo $form->input('User.photo', array('size' => '40', 'type'=>'file','label' =>'Imagen'));
                            ?>
			</li>
		</ul>
                <?php echo $form->end('Aceptar');?>
	</fieldset>
	<!--<p><input type="submit" name="add" value="Add Image" /></p>-->
</form>